package com.whenjun.dto.kq;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotEmpty;
import java.io.Serializable;

@Data
public class KqGroupUpdReq implements Serializable {

    @ApiModelProperty("考勤班组id")
    @NotEmpty(message = "id为空")
    private String id;

    @ApiModelProperty(value = "考勤组名称",required = true)
    @NotEmpty(message = "name为空")
    private String name;

    @ApiModelProperty(value = "上班时间，HH:mm:ss",required = true)
    @NotEmpty(message = "shangbanTime为空")
    private String shangbanTime;

    @ApiModelProperty(value = "下班时间，HH:mm:ss",required = true)
    @NotEmpty(message = "xiabanTime为空")
    private String xiabanTime;
}
